package JDBC;


public class User {

  private String userId;
  private String name;
  private String ename;
  private String personId;
  private String sex;
  private long credit;
  private String city;


  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getEname() {
    return ename;
  }

  public void setEname(String ename) {
    this.ename = ename;
  }


  public String getPersonId() {
    return personId;
  }

  public void setPersonId(String personId) {
    this.personId = personId;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }


  public long getCredit() {
    return credit;
  }

  public void setCredit(long credit) {
    this.credit = credit;
  }


  public String getCity() {
    return city;
  }

  public void setCity(String city) {
    this.city = city;
  }

  @Override
  public String toString() {
    return "User{" +
            "userId='" + userId + '\'' +
            ", name='" + name + '\'' +
            ", ename='" + ename + '\'' +
            ", personId='" + personId + '\'' +
            ", sex='" + sex + '\'' +
            ", credit=" + credit +
            ", city='" + city + '\'' +
            '}';
  }
}
